package com.example.form.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    private String content;

    // 版块信息
    private Board board;

    // ⽤⼾信息
    private User user;

    // ⽤⼾是不是作者
    @ApiModelProperty("⽤⼾是不是作者") // ⽤于swagger的注解
    private Boolean Own;


}